package com.pazl.check.api.dto;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 融资基础信息 
 * @author chenyn
 *
 * 2020年5月11日
 */
public class FinanceBaseInfoDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8412124409808364617L;

	@NotEmpty(message = "loanType missing.")
	@Pattern(regexp="1|2",message="loanType error,only 【1|2】")
	private String loanType;// 贷款类型
	
	@NotEmpty(message = "is2nd missing.")
	@Pattern(regexp="0|1",message="is2nd error,only 【0|1】")
	private String is2nd;// 业务类型
	
	@NotEmpty(message = "preCode missing.")
	private String preCode;// 预审编号
	
	@NotEmpty(message = "dealerFlag missing.")
	private String dealerFlag;// 代理商编号
	
	@NotEmpty(message = "loanID missing.")
	private String loanID;// 订单id
	
	@NotEmpty(message = "salesName missing.")
	private String salesName;// 销售姓名
	
	@NotEmpty(message = "contactWay missing.")
	private String contactWay;// 联系方式
	
	@NotEmpty(message = "projectAmount missing.")
	private String projectAmount;// 项目金额
	
	@NotEmpty(message = "isCarHome missing.")
	@Pattern(regexp="1|2",message="isCarHome error,only 【1|2】")
	private String isCarHome;// 是否汽车之家
	
	@NotEmpty(message = "rentModel missing.")
	private String rentModel;// 租赁模式
	
	@NotEmpty(message = "isWrap missing.")
	private String isWrap;// 是否打包
	
	@NotEmpty(message = "productName missing.")
	private String productName;// 产品名称
	
	@NotEmpty(message = "productId missing.")
	private String productId;// 产品id
	
	//@NotEmpty(message = "productNumber missing.")
	private String productNumber;// 产品编号
	
	@NotEmpty(message = "isInstallGPS missing.")
	@Pattern(regexp="1|2",message="isInstallGPS error,only 【1|2】")
	private String isInstallGPS;// 是否安装gps
	
	@NotEmpty(message = "firstPay missing.")
	private String firstPay;// 首付金额
	
	@NotEmpty(message = "firstPayScale missing.")
	private String firstPayScale;// 首付比例
	
	@NotEmpty(message = "cautionMoney missing.")
	private String cautionMoney;// 保证金
	
	@NotEmpty(message = "serviceCharge missing.")
	private String serviceCharge;// 服务费
	
	@NotEmpty(message = "rentDue missing.")
	private String rentDue;// 租赁期限
	
	@NotEmpty(message = "financeAmount missing.")
	private String financeAmount;// 融资金额
	
	@NotEmpty(message = "factoryDisCount missing.")
	private String factoryDisCount;// 厂家贴息
	
	@NotEmpty(message = "dealerDisCount missing.")
	private String dealerDisCount;// 经销商贴息
	
	@NotEmpty(message = "costAmount missing.")
	private String costAmount;// 成本金额
	
	@NotEmpty(message = "cleanFinanceAmount missing.")
	private String cleanFinanceAmount;// 净融资金额
	
	@NotEmpty(message = "repayPeriod missing.")
	@Pattern(regexp="1|2|3",message="repayPeriod error,only 【1|2|3】")
	private String repayPeriod;// 还款周期
	
	//@NotEmpty(message = "monthRent missing.")
	private String monthRent;// 每期租金
	
	public String getLoanType() {
		return loanType;
	}
	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}
	public String getIs2nd() {
		return is2nd;
	}
	public void setIs2nd(String is2nd) {
		this.is2nd = is2nd;
	}
	public String getPreCode() {
		return preCode;
	}
	public void setPreCode(String preCode) {
		this.preCode = preCode;
	}
	public String getDealerFlag() {
		return dealerFlag;
	}
	public void setDealerFlag(String dealerFlag) {
		this.dealerFlag = dealerFlag;
	}
	public String getLoanID() {
		return loanID;
	}
	public void setLoanID(String loanID) {
		this.loanID = loanID;
	}
	public String getSalesName() {
		return salesName;
	}
	public void setSalesName(String salesName) {
		this.salesName = salesName;
	}
	public String getContactWay() {
		return contactWay;
	}
	public void setContactWay(String contactWay) {
		this.contactWay = contactWay;
	}
	public String getProjectAmount() {
		return projectAmount;
	}
	public void setProjectAmount(String projectAmount) {
		this.projectAmount = projectAmount;
	}
	public String getIsCarHome() {
		return isCarHome;
	}
	public void setIsCarHome(String isCarHome) {
		this.isCarHome = isCarHome;
	}
	public String getRentModel() {
		return rentModel;
	}
	public void setRentModel(String rentModel) {
		this.rentModel = rentModel;
	}
	public String getIsWrap() {
		return isWrap;
	}
	public void setIsWrap(String isWrap) {
		this.isWrap = isWrap;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getProductNumber() {
		return productNumber;
	}
	public void setProductNumber(String productNumber) {
		this.productNumber = productNumber;
	}
	public String getIsInstallGPS() {
		return isInstallGPS;
	}
	public void setIsInstallGPS(String isInstallGPS) {
		this.isInstallGPS = isInstallGPS;
	}
	public String getFirstPay() {
		return firstPay;
	}
	public void setFirstPay(String firstPay) {
		this.firstPay = firstPay;
	}
	public String getFirstPayScale() {
		return firstPayScale;
	}
	public void setFirstPayScale(String firstPayScale) {
		this.firstPayScale = firstPayScale;
	}
	public String getCautionMoney() {
		return cautionMoney;
	}
	public void setCautionMoney(String cautionMoney) {
		this.cautionMoney = cautionMoney;
	}
	public String getServiceCharge() {
		return serviceCharge;
	}
	public void setServiceCharge(String serviceCharge) {
		this.serviceCharge = serviceCharge;
	}
	public String getRentDue() {
		return rentDue;
	}
	public void setRentDue(String rentDue) {
		this.rentDue = rentDue;
	}
	public String getFinanceAmount() {
		return financeAmount;
	}
	public void setFinanceAmount(String financeAmount) {
		this.financeAmount = financeAmount;
	}
	public String getFactoryDisCount() {
		return factoryDisCount;
	}
	public void setFactoryDisCount(String factoryDisCount) {
		this.factoryDisCount = factoryDisCount;
	}
	public String getDealerDisCount() {
		return dealerDisCount;
	}
	public void setDealerDisCount(String dealerDisCount) {
		this.dealerDisCount = dealerDisCount;
	}
	public String getCostAmount() {
		return costAmount;
	}
	public void setCostAmount(String costAmount) {
		this.costAmount = costAmount;
	}
	public String getCleanFinanceAmount() {
		return cleanFinanceAmount;
	}
	public void setCleanFinanceAmount(String cleanFinanceAmount) {
		this.cleanFinanceAmount = cleanFinanceAmount;
	}
	public String getRepayPeriod() {
		return repayPeriod;
	}
	public void setRepayPeriod(String repayPeriod) {
		this.repayPeriod = repayPeriod;
	}
	public String getMonthRent() {
		return monthRent;
	}
	public void setMonthRent(String monthRent) {
		this.monthRent = monthRent;
	}
	
}
